package com.czh.springboot04.service;

import com.czh.springboot04.entity.ConsultSpecialty;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ConsultSpecialtyService {
    int insert(ConsultSpecialty consultSpecialty);

    int update(ConsultSpecialty consultSpecialty);

    int delete(int id);

    PageInfo<ConsultSpecialty> selectByPage(int pageNum, int pageSize );
    ConsultSpecialty selectById(int id);
    List<ConsultSpecialty> selectAll();
}
